// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from '@/api/request';


export function moduleList() {
  const data = {
  };
  return request({
    url: '/moduleBaseInfo/list',
    method: 'POST',
    data: data,
  });
}


export function moduleAdd(pram) {

  return request({
    url: '/moduleBaseInfo/add',
    method: 'POST',
    data: pram,
  });
}

export function moduleUpdate(pram) {

  return request({
    url: '/moduleBaseInfo/update',
    method: 'GET',
    params: pram,
  });
}

export function moduleQueryConfigDetail(pram) {

  return request({
    url: '/moduleQueryConfig/detail',
    method: 'GET',
    params: pram,
  });
}
export function moduleQueryConfigAdd(pram) {

  return request({
    url: '/moduleQueryConfig/save',
    method: 'POST',
    data: pram,
  });
}

export function listVersion(pram) {

  return request({
    url: '/moduleQueryConfig/listVersion',
    method: 'GET',
    params: pram,
  });
}